(ns samber.db.models
  (:require
    [toucan.models :refer [defmodel IModel]]))

(defmodel User :users)
  ; (types [this]
  ;   {:status :keyword}))

(defmodel JwtBlacklist :jwt_blacklist)

(defmodel ShopAddress :shop_address
  IModel
  (default-fields [_]
    [:id :user_name :tel_number :postal_code :province_name :city_name :county_name :detail_info :is_default]))

(defmodel Questions :questions)
